.form-inline:after {
  content: "";
  display: block;
  clear: both;
}
.form-group {
  float: none;
  display: table;
  margin-bottom: 10px;
  vertical-align: middle;
}
.form-label {
  box-sizing: border-box;
  width: 1%;
  white-space: nowrap;
  padding: 0 8px;
  color: #555;
  background-color: #eee;
}
.form-item {
  box-sizing: border-box;
  width: 100%;
  height: 30px;
  background-color: #fff;
}
.form-label,
.form-item {
  display: table-cell;
  border: 1px solid #e6e6e6;
  font-size: 12px;
  vertical-align: middle;
  border-radius: 0;
}
.form-label .select-input,
.form-item .select-input {
  border-radius: 0;
}
.form-label:not(:last-child),
.form-item:not(:last-child) {
  border-right: none;
}
.form-label:not(:last-child) .select-input,
.form-item:not(:last-child) .select-input {
  border-right: none;
}
.form-label:first-child,
.form-item:first-child {
  border-radius: 4px 0 0 4px;
}
.form-label:last-child,
.form-item:last-child {
  border-radius: 0 4px 4px 0;
}
.form-label:last-child .select-input,
.form-item:last-child .select-input {
  border-radius: 0 4px 4px 0;
}
@media screen and (min-width: 768px) {
  .form-group {
    float: left;
    display: inline-table;
    padding-right: 10px;
  }
  .form-label,
  .form-item {
    width: auto;
  }
}
